package com.relytosoft.mizar.media.analyze.api.pojo.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lj
 * @date 2022/6/13 13:45
 */
public class AyEventTypeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", required = true)
    private Integer id;

    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID", required = true)
    private Integer parentId;

    /**
     * 事件名称
     */
    @ApiModelProperty(value = "事件名称")
    private String name;

    /**
     * 事件编码
     */
    @ApiModelProperty(value = "事件编码")
    private Integer code;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "AyEventVo{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", code=" + code +
                '}';
    }
}
